package cc.comac.mom.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import cc.comac.mom.entity.base.BaseResultEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@TableName(value = "equip_repair_replace_part")
@Data
@EqualsAndHashCode(callSuper=true)
public class EquipRepairReplacePartEntity extends BaseResultEntity{
	private static final long serialVersionUID = 1L;
	@TableField(value="equip_replace_part_id")
	@TableId(value = "equip_replace_part_id",type=IdType.INPUT )
	private long   id;
	private long repairId;
	private long partId;
	private String partNumber;
	private String partName;
	private String equipPartAreaId;
	private String sparePartModel;
	private BigDecimal replaceQuantity;
	private int submitReceive;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date replaceTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	private Date submitTime;
	private String replaceStatus;
	@TableField(value ="ea_0")
	private String ea0;
	@TableField(value ="ea_1")
	private String ea1;
	@TableField(value ="ea_2")
	private String ea2;
	@TableField(value ="ea_3")
	private String ea3;
	@TableField(value ="ea_4")
	private String ea4;
}
